// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.util.util;

public class Display {
    private static final String displayChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!\"#\u00a4%&/()=?'@\u00a3${[]}+|^~*-_.:,;<>\\";

    public static String display(int v) {
        return String.valueOf(v);
    }

    static String hexChar(char _char) {
        String string = Integer.toHexString(_char);
        switch (string.length()) {
            case 1:
                return "\\u000" + string;
            case 2:
                return "\\u00" + string;
            case 3:
                return "\\u0" + string;
            case 4:
                return "\\u" + string;
            default:
                throw new RuntimeException("Internal error");
        }
    }
}
